<?php


class Pauler_Searchseo_Block_Manage_Notification extends Mage_Adminhtml_Block_Template
{
   public function getNotice(){

       $collection = Mage::getModel('searchseo/query')->getCollection();
       $collection->addFieldToFilter('is_active',array('eq'=>1) )
           ->addFieldToFilter('num_results',array('eq'=>0) )
           ->addFieldToFilter('redirect',array('eq'=>'') )
           ->setOrder('creation_time', 'asc');
       return $collection; 
   }
}


